package com.kingdee.eas.custom.sap;

import com.kingdee.bos.BOSException;
import com.kingdee.bos.BOSObjectFactory;
import com.kingdee.bos.util.BOSObjectType;
import com.kingdee.bos.Context;

public class RoleControlE1Factory
{
    private RoleControlE1Factory()
    {
    }
    public static com.kingdee.eas.custom.sap.IRoleControlE1 getRemoteInstance() throws BOSException
    {
        return (com.kingdee.eas.custom.sap.IRoleControlE1)BOSObjectFactory.createRemoteBOSObject(new BOSObjectType("22A771A2") ,com.kingdee.eas.custom.sap.IRoleControlE1.class);
    }
    
    public static com.kingdee.eas.custom.sap.IRoleControlE1 getRemoteInstanceWithObjectContext(Context objectCtx) throws BOSException
    {
        return (com.kingdee.eas.custom.sap.IRoleControlE1)BOSObjectFactory.createRemoteBOSObjectWithObjectContext(new BOSObjectType("22A771A2") ,com.kingdee.eas.custom.sap.IRoleControlE1.class, objectCtx);
    }
    public static com.kingdee.eas.custom.sap.IRoleControlE1 getLocalInstance(Context ctx) throws BOSException
    {
        return (com.kingdee.eas.custom.sap.IRoleControlE1)BOSObjectFactory.createBOSObject(ctx, new BOSObjectType("22A771A2"));
    }
    public static com.kingdee.eas.custom.sap.IRoleControlE1 getLocalInstance(String sessionID) throws BOSException
    {
        return (com.kingdee.eas.custom.sap.IRoleControlE1)BOSObjectFactory.createBOSObject(sessionID, new BOSObjectType("22A771A2"));
    }
}